<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.google.appengine.api.users.User" %>
<%
  String uploadURL = (String) request.getAttribute("uploadURL");
  Integer businessType = (Integer) request.getAttribute("businessType");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
  "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="keywords" content="文件上传  upload 头像  照片"/>
  <link type="text/css" rel="stylesheet" href="/css/openbang.css"/>  
  <link href="/css/style.css" rel="stylesheet" type="text/css" />
  <title>开源邦  头像上传</title>
  <script language="javascript" type=text/javascript src="/js/common.js"></script>
</head>
<body>

<div class="p_body">

<%@ include file="/head.jsp" %>

<div class="main">

<div class="content">

<div class="content_left_g">
<div class="left_top">目录</div>
<div>
  
 <div class="txt">
 <ul>
    <li><a href="/accountLogin.jsp">登录</a></li>
        <li><a href="/accountFindPwd.jsp">找回密码</a></li>
    <li><a href="/accountRegister.jsp">注册</a></li>
 </ul>
 
 </div> 


</div>
</div>
<div class="content_centent">
<div class="main_top_t">
<div class="ptop">位置：上传头像</div>

  <form action="<%= uploadURL %>" method="POST" enctype="multipart/form-data">
  <Table  class="ptxt">
    <TR><TD>标题: </TD><TD><input type="text" size="40" name="title"></TD></TR>
    <TR><TD>描述:</TD><TD><textarea cols="40" rows="10" name="description"></textarea></TD></TR>
    <TR><TD>头像: </TD><TD><input type="file" name="file"></TD></TR>
    <TR><TD colspan="2" align="center"><input type="submit" name="mysubmit" value="上传"></TD></TR>
    <TR><TD>说明: </TD><TD>图像格式只能为JPEG或PNG,图片最大为1兆字节,建议在200*200像素以内.</TD></TR>
    </Table>
    <input type="hidden"  name="businessType" value="<%=businessType%>">
  </form>

</div>


</div>
<div class="content_right1">
<div class="h_5"></div>
</div>

</div>

<div class="baner">
<!-- google 广告 begin-->
<script type="text/javascript"><!--
google_ad_client = "pub-9584392318741327";
/* 728x90, 创建于 10-1-11 */
google_ad_slot = "6311670819";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- google 广告 end-->
	
</div>

</div>

<%@ include file="/foot.jsp"%>

</div>
</body>
</html>
